
@extends('admin.layout.index')

@section('css')

<link rel="stylesheet" type="text/css" href="/admins/css/page_page.css">
@endsection
@section('content')

<div class="mws-panel grid_8">
                        <div class="mws-panel-header">
                            <span>
                                <i class="icon-table">
                                    
                                </i> 
                                基本信息
                            </span>
                        </div>
                        <div class="mws-panel-body no-padding">
                        <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper" role="grid">
                        <div id="DataTables_Table_1_length" class="dataTables_length">
                        <form action="/admin/setting/index" method="get">
                            
                        </div>
                            <div class="dataTables_filter" id="DataTables_Table_1_filter">
                                    <label>关键字: <input type="text" name="search" value="{{ $request['search'] or ''}}"  aria-controls="DataTables_Table_1" >

                                    </label>
                                    <input type="submit" value="搜索">
                            </form>
                            </div>
                            <table class="mws-datatable-fn mws-table dataTable" id="DataTables_Table_1" aria-describedby="DataTables_Table_1_info">
                                <thead>
                                        <tr role="row">
                                        <th class="sorting_asc"  style="width: 115px;">编号</th>
                                        <th class="sorting_asc"  style="width: 115px;">网站标题</th>
                                        <th class="sorting_asc"  style="width: 115px;">关键词</th>
                                        <th class="sorting_asc"  style="width: 115px;">网站描述</th>
                                        <th class="sorting_asc"  style="width: 115px;">咨询QQ</th>
                                        <th class="sorting_asc"  style="width: 115px;">咨询热线</th>
                                        <th class="sorting_asc"  style="width: 115px;">版权所有</th>
                                        <th class="sorting_asc"  style="width: 115px;">备案号</th>
                                        <th class="sorting_asc"  style="width: 115px;">网站lLOGO</th>
                                        <th class="sorting_asc"  style="width: 194px;">操作</th>
                                        
                                </thead>
                            
                                <tbody role="alert" aria-live="polite" aria-relevant="all">
                                @foreach($data as $k=>$v)
                                    <tr class="odd">
                                        <td class="  sorting_1">{{ $v['id'] }}</td>
                                        <td class=" ">{{ $v['name'] }}</td>
                                        <td class=" ">{{ $v['keyword']}}</td>
                                        <td class=" ">{{ $v['content']}}</td> 
                                        <td class=" ">{{ $v['qq']}}</td>
                                        <td class=" ">{{ $v['tel']}}</td>
                                        <td class=" ">{{ $v['pow']}}</td>
                                        <td class=" ">{{ $v['pic']}}</td>
                                        <td class=" "><img src="{{ $v['picture'] }}" alt="" style="width:60px;"></td>
                                        <td class=" ">
                                            <a href="/admin/setting/delete/{{$v['id']}}" style="color:black;font-size:20px;margin-left:20px" title="删除"><i class="icon-trash"></i></a>
                                            <a href="/admin/setting/edit/{{$v['id']}}" style="color:black;font-size:20px;margin-left:20px" title="修改"><i class="icon-pencil-2"></i></a>
                                        </td>
                                    </tr>
                                @endforeach
                                </tbody>
                            </table>
                                    <div class="dataTables_info" id="DataTables_Table_1_info">
                                        Showing 1 to 10 of 57 entries
                                    </div>
                                  
                                </div>
                    </div>
                </div>
@endsection